{% extends "root/_incs/lay_root.htm" %}

{% block title %}
<title>微爬(fang.com)采集 - {{ g.sys['title']}}</title>
<meta name='robots' content='noindex, nofollow'>
{% endblock %}

{% block head %}
    <h1>图片 - {{ d.data.wd }}</h1>
    <p> 爬baidu图片</p>
{% endblock %}

{% block main %}

<div class="out">

<div class="in">
    <h2><span class="tg1"><a href="./pa">返回</a></span>爬baidu图片</h2>
    <div>
        <p>Url ：
        <a href="?wd=清新早晨">清新早晨</a> - <a target="_blank" href="https://image.baidu.com/search/flip?ie=utf-8&tn=baiduimage&word=%E6%B8%85%E6%96%B0%E6%97%A9%E6%99%A8">baidu</a>，
        <a href="?wd=清纯美女">清纯美女</a> - <a target="_blank" href="https://image.baidu.com/search/flip?ie=utf-8&tn=baiduimage&word=%E6%B8%85%E7%BA%AF%E7%BE%8E%E5%A5%B3">baidu</a>，
        <a href="?wd=动物世界">动物世界</a> - <a target="_blank" href="https://image.baidu.com/search/flip?ie=utf-8&tn=baiduimage&word=%E5%8A%A8%E7%89%A9%E4%B8%96%E7%95%8C">baidu</a>，
        <a href="?wd=花鸟壁纸">花鸟壁纸</a> - <a target="_blank" href="https://image.baidu.com/search/flip?ie=utf-8&tn=baiduimage&word=%E8%8A%B1%E9%B8%9F%E5%A3%81%E7%BA%B8">baidu</a>
        </p>
        <p>
            <form name="fms1" method="get" action="?">
                关键字：<input type="text" name="wd" id="wd" value="{{ d.data.wd }}">
                <input type="submit" name="submit" id="button" value="爬爬">
            </form>
        </p>
    </div>
</div>

<div class="in">
    <h2><span class="tg1">result</span>执行结果</h2>
    {% for img in d.data.res %}
    <div>
        <p style="background:#CCC"><a href="{{ img }}">{{ img }}</a></p>
        <p><img src="{{ img }}" /></p>
    </div>
    {% endfor %}
</div>

</div><!--end.out-->

{% endblock %}
